<template>
	<view>
		<fAndD :flag="false" :list="dList" @clearDownload='clearDownload'></fAndD>
	</view>
</template>

<script>
	import fAndD from '../components/fAndD/fAndD.vue'
	export default {
		components:{fAndD},
		data(){
			return {
				dList:[]
			}
		},
		methods:{
			// 子传父
			clearDownload(e){
				this.$store.commit('user/clearImage',e)
				this.dList = this.$store.state.user.downloadArr
			}
		},
		onLoad() {
			// #ifdef MP-WEIXIN
			this.dList = this.$store.state.user.downloadArr
			// #endif
			
		}
	}
</script>

<style lang="scss" scoped>
	
	
</style>